um\core\User D

Total Complexity 297
Dependencies 2
Dependents 2
Total lines 2,229
Lines of code 1,139
Logical lines of code 672
Comment lines 755
Methods 61
Properties 14

Methods 61

Method Rating Maintainability Complexity Lines of code
generate_profile_slug()
C
32 25 103
flush_um_count_users_transient_update()
B
40 19 70
set()
B
39 19 62
on_delete_usermeta()
B
41 18 57
on_update_usermeta()
B
42 18 53
secondary_role_field()
A
41 14 54
flush_um_count_users_transient_delete()
A
46 11 41
update_profile()
A
48 10 32
flush_um_count_users_transient_add()
A
49 8 36
is_metakey_banned()
S
59 8 13
get_profile_slug()
S
52 7 27
set_registration_details()
S
51 7 26
is_profile_noindex()
S
54 7 20
delete_user_handler()
S
50 6 26
user_has_metadata()
S
52 6 25
profile_update()
S
55 6 19
user_exists_by_name()
S
45 4 46
__construct()
S
41 3 58
delete()
S
57 5 17
profile_form_additional_section()
S
63 6 10
user_register_via_admin()
S
59 5 14
get_cached_data()
S
60 5 13
add_um_role_existing_user()
S
62 5 11
add_um_role_wpmu_new_user()
S
62 5 11
user_exists_by_custom_meta()
S
49 3 33
toArray()
S
60 4 14
generate_user_hash()
S
59 4 13
get_role()
S
63 4 11
get_admin_actions()
S
56 3 18
check_membership()
S
63 3 11
user_exists_by_hash()
S
54 2 21
password_reset()
S
58 2 17
password_changed()
S
65 3 9
avoid_banned_keys()
S
66 3 9
clean()
S
69 3 7
is_private_profile()
S
67 3 7
is_approved()
S
68 3 7
user_exists_by_email_as_username()
S
61 2 13
set_gravatar()
S
63 2 11
get_profile_link()
S
69 2 7
user_exists_by_id()
S
74 2 4
setup_cache()
S
68 2 7
is_private_case()
S
66 2 8
approve()
S
74 1 4
reject()
S
75 1 4
assign_secretkey()
S
75 1 4
update_files()
S
80 1 3
set_status()
S
74 1 4
email_pending()
S
75 1 4
pending()
S
75 1 4
set_last_login()
S
78 1 3
add_activation_replace_placeholder()
S
76 1 4
add_activation_placeholder()
S
77 1 4
delete_meta()
S
80 1 3
update_usermeta_info()
S
75 1 4
maybe_generate_password_reset_key()
S
81 1 3
auto_login()
S
70 1 6
reset()
S
80 1 3
remove_cache_all_users()
S
76 1 4
remove_cache()
S
80 1 3
deactivate()
S
75 1 4